import Vue from 'vue'
import { Tabbar, Tabs, Tab, TabbarItem, Button, Icon, NavBar, Toast, Swipe, SwipeItem, Grid, GridItem, Search, Rate, ActionSheet, Dialog, Checkbox, CheckboxGroup, AddressList, AddressEdit } from 'vant'

Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Button)
Vue.use(Icon)

Vue.use(NavBar)

Vue.use(Rate)
Vue.use(Toast)

Vue.use(Swipe)
Vue.use(SwipeItem)

Vue.use(Grid)
Vue.use(GridItem)

Vue.use(Search)

Vue.use(ActionSheet)

// 全局注册
Vue.use(Dialog)

Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Tabs)
Vue.use(Tab)

Vue.use(AddressList)

Vue.use(AddressEdit)
